<html>
<head><meta charset="utf-8"><title>Some completions are rendered inconsistently · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Some.20completions.20are.20rendered.20inconsistently.html">Some completions are rendered inconsistently</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="241936940"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Some%20completions%20are%20rendered%20inconsistently/near/241936940" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Some.20completions.20are.20rendered.20inconsistently.html#241936940">(Jun 08 2021 at 15:21)</a>:</h4>
<p>Just got an odd test failure after fixing a completion:</p>
<div class="codehilite"><pre><span></span><code>Expect:
----
fn f()       fn()

----

Actual:
----
fn f() fn()
</code></pre></div>
<p>I seems that some completion sources might render them differently, even when they're suggesting the same item?</p>



<a name="241937723"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Some%20completions%20are%20rendered%20inconsistently/near/241937723" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lukas Wirth <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Some.20completions.20are.20rendered.20inconsistently.html#241937723">(Jun 08 2021 at 15:26)</a>:</h4>
<p>That's odd, the only thing that should affect that there should be the items label</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>